package com.shuiyun.jtt.message.jt808;

import com.shuiyun.jtt.anno.Message;
import com.shuiyun.jtt.enums.JT808;
import com.shuiyun.jtt.message.JTMessage;
import com.shuiyun.jtt.message.mapping.TerminalParamMapping;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

/**
 * @author shuiyun
 * @program gateway
 * @description 设置终端参数
 * @date 2022-05-10 00:11
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Message(JT808.设置终端参数0x8103)
public class T8103 extends JTMessage {

    @FieldValue(type = DataType.MAP,lengthSize = 1,length = 4,clazz = TerminalParamMapping.class)
    private Map<Integer, Object> terminalParam;
}
